﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:CityLife"
	x:Class="CityLife.Car1"
	d:DesignWidth="30" d:DesignHeight="30" RenderTransformOrigin="0.5,0.5">
	<UserControl.Resources>
		<Storyboard x:Name="TurnRight">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CarImage" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:06" Value="6"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CarImage" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<EasingDoubleKeyFrame KeyTime="00:00:06" Value="51.6"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CarImage" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:06" Value="13"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
 
	 
    <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="Car" Width="30" Height="30"   UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5">
 
    	 
	    <Image x:Name="CarImage" Height="11.265" Width="9.657" Source="/CityLife;Component/Resources/Images/car1.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5" Canvas.Left="0" Canvas.Top="0">
	    	<Image.RenderTransform>
	    		<TransformGroup>
	    			<ScaleTransform/>
	    			<SkewTransform/>
	    			<RotateTransform Angle="-39.394001007080078"/>
	    			<TranslateTransform/>
	    		</TransformGroup>
	    	</Image.RenderTransform>
	    </Image>
    </Canvas>
</UserControl>
